package com.hu.zhcc.shiro.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hu.zhcc.shiro.entity.tj.TDiseaseLibrary;

import java.util.List;

/**
 * <p>
 * 疾病库 Mapper 接口
 * </p>
 *
 * @author tj
 * @since 2021-06-24
 */
public interface Tj_TDiseaseLibraryMapper extends BaseMapper<TDiseaseLibrary> {
    //连接查询就诊科室表的编号
    List<TDiseaseLibrary> queryAll();
    //根据编号进行查询
    TDiseaseLibrary queryById(int id);
    //添加疾病库
    int addTdisease(TDiseaseLibrary tDiseaseLibrary);
    //修改疾病库
    int updTdisease(TDiseaseLibrary tDiseaseLibrary);
    //查找上一个的编码
    String QueryCode();

}
